Optimal. Leaf size=224 \[ \frac {b c \left (12 c^2 d-e\right ) \sqrt {d+e x^2}}{120 d x^2}-\frac {b c \left (d+e x^2\right )^{3/2}}{20 d x^4}-\frac {\left (d+e x^2\right )^{3/2} (a+b \text {ArcTan}(c x))}{5 d x^5}+\frac {2 e \left (d+e x^2\right )^{3/2} (a+b \text {ArcTan}(c x))}{15 d^2 x^3}-\frac {b c \left (24 c^4 d^2-20 c^2 d e-15 e^2\right ) \tanh ^{-1}\left (\frac {\sqrt {d+e x^2}}{\sqrt {d}}\right )}{120 d^{3/2}}+\frac {b \left (c^2 d-e\right )^{3/2} \left (3 c^2 d+2 e\right ) \tanh ^{-1}\left (\frac {c \sqrt {d+e x^2}}{\sqrt {c^2 d-e}}\right )}{15 d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.24, antiderivative size = 224, normalized size of antiderivative = 1.00, number of steps
used = 10, number of rules used = 9, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.391, Rules used = {277, 270,
5096, 12, 587, 154, 162, 65, 214} \begin {gather*} \frac {2 e \left (d+e x^2\right )^{3/2} (a+b \text {ArcTan}(c x))}{15 d^2 x^3}-\frac {\left (d+e x^2\right )^{3/2} (a+b \text {ArcTan}(c x))}{5 d x^5}+\frac {b \left (3 c^2 d+2 e\right ) \left (c^2 d-e\right )^{3/2} \tanh ^{-1}\left (\frac {c \sqrt {d+e x^2}}{\sqrt {c^2 d-e}}\right )}{15 d^2}+\frac {b c \left (12 c^2 d-e\right ) \sqrt {d+e x^2}}{120 d x^2}-\frac {b c \left (24 c^4 d^2-20 c^2 d e-15 e^2\right ) \tanh ^{-1}\left (\frac {\sqrt {d+e x^2}}{\sqrt {d}}\right )}{120 d^{3/2}}-\frac {b c \left (d+e x^2\right )^{3/2}}{20 d x^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 65
Rule 154
Rule 162
Rule 214
Rule 270
Rule 277
Rule 587
Rule 5096
Rubi steps
\begin {align*} \int \frac {\sqrt {d+e x^2} \left (a+b \tan ^{-1}(c x)\right )}{x^6} \, dx &=-\frac {\left (d+e x^2\right )^{3/2} \left (a+b \tan ^{-1}(c x)\right )}{5 d x^5}+\frac {2 e \left (d+e x^2\right )^{3/2} \left (a+b \tan ^{-1}(c x)\right )}{15 d^2 x^3}-(b c) \int \frac {\left (d+e x^2\right )^{3/2} \left (-3 d+2 e x^2\right )}{15 d^2 x^5 \left (1+c^2 x^2\right )} \, dx\\ &=-\frac {\left (d+e x^2\right )^{3/2} \left (a+b \tan ^{-1}(c x)\right )}{5 d x^5}+\frac {2 e \left (d+e x^2\right )^{3/2} \left (a+b \tan ^{-1}(c x)\right )}{15 d^2 x^3}-\frac {(b c) \int \frac {\left (d+e x^2\right )^{3/2} \left (-3 d+2 e x^2\right )}{x^5 \left (1+c^2 x^2\right )} \, dx}{15 d^2}\\ &=-\frac {\left (d+e x^2\right )^{3/2} \left (a+b \tan ^{-1}(c x)\right )}{5 d x^5}+\frac {2 e \left (d+e x^2\right )^{3/2} \left (a+b \tan ^{-1}(c x)\right )}{15 d^2 x^3}-\frac {(b c) \text {Subst}\left (\int \frac {(d+e x)^{3/2} (-3 d+2 e x)}{x^3 \left (1+c^2 x\right )} \, dx,x,x^2\right )}{30 d^2}\\ &=-\frac {b c \left (d+e x^2\right )^{3/2}}{20 d x^4}-\frac {\left (d+e x^2\right )^{3/2} \left (a+b \tan ^{-1}(c x)\right )}{5 d x^5}+\frac {2 e \left (d+e x^2\right )^{3/2} \left (a+b \tan ^{-1}(c x)\right )}{15 d^2 x^3}-\frac {(b c) \text {Subst}\left (\int \frac {\sqrt {d+e x} \left (\frac {1}{2} d \left (12 c^2 d-e\right )+\frac {1}{2} e \left (3 c^2 d+8 e\right ) x\right )}{x^2 \left (1+c^2 x\right )} \, dx,x,x^2\right )}{60 d^2}\\ &=\frac {b c \left (12 c^2 d-e\right ) \sqrt {d+e x^2}}{120 d x^2}-\frac {b c \left (d+e x^2\right )^{3/2}}{20 d x^4}-\frac {\left (d+e x^2\right )^{3/2} \left (a+b \tan ^{-1}(c x)\right )}{5 d x^5}+\frac {2 e \left (d+e x^2\right )^{3/2} \left (a+b \tan ^{-1}(c x)\right )}{15 d^2 x^3}-\frac {(b c) \text {Subst}\left (\int \frac {-\frac {1}{4} d \left (24 c^4 d^2-20 c^2 d e-15 e^2\right )-\frac {1}{4} e \left (12 c^4 d^2-7 c^2 d e-16 e^2\right ) x}{x \left (1+c^2 x\right ) \sqrt {d+e x}} \, dx,x,x^2\right )}{60 d^2}\\ &=\frac {b c \left (12 c^2 d-e\right ) \sqrt {d+e x^2}}{120 d x^2}-\frac {b c \left (d+e x^2\right )^{3/2}}{20 d x^4}-\frac {\left (d+e x^2\right )^{3/2} \left (a+b \tan ^{-1}(c x)\right )}{5 d x^5}+\frac {2 e \left (d+e x^2\right )^{3/2} \left (a+b \tan ^{-1}(c x)\right )}{15 d^2 x^3}-\frac {\left (b c \left (c^2 d-e\right )^2 \left (3 c^2 d+2 e\right )\right ) \text {Subst}\left (\int \frac {1}{\left (1+c^2 x\right ) \sqrt {d+e x}} \, dx,x,x^2\right )}{30 d^2}+\frac {\left (b c \left (24 c^4 d^2-20 c^2 d e-15 e^2\right )\right ) \text {Subst}\left (\int \frac {1}{x \sqrt {d+e x}} \, dx,x,x^2\right )}{240 d}\\ &=\frac {b c \left (12 c^2 d-e\right ) \sqrt {d+e x^2}}{120 d x^2}-\frac {b c \left (d+e x^2\right )^{3/2}}{20 d x^4}-\frac {\left (d+e x^2\right )^{3/2} \left (a+b \tan ^{-1}(c x)\right )}{5 d x^5}+\frac {2 e \left (d+e x^2\right )^{3/2} \left (a+b \tan ^{-1}(c x)\right )}{15 d^2 x^3}-\frac {\left (b c \left (c^2 d-e\right )^2 \left (3 c^2 d+2 e\right )\right ) \text {Subst}\left (\int \frac {1}{1-\frac {c^2 d}{e}+\frac {c^2 x^2}{e}} \, dx,x,\sqrt {d+e x^2}\right )}{15 d^2 e}+\frac {\left (b c \left (24 c^4 d^2-20 c^2 d e-15 e^2\right )\right ) \text {Subst}\left (\int \frac {1}{-\frac {d}{e}+\frac {x^2}{e}} \, dx,x,\sqrt {d+e x^2}\right )}{120 d e}\\ &=\frac {b c \left (12 c^2 d-e\right ) \sqrt {d+e x^2}}{120 d x^2}-\frac {b c \left (d+e x^2\right )^{3/2}}{20 d x^4}-\frac {\left (d+e x^2\right )^{3/2} \left (a+b \tan ^{-1}(c x)\right )}{5 d x^5}+\frac {2 e \left (d+e x^2\right )^{3/2} \left (a+b \tan ^{-1}(c x)\right )}{15 d^2 x^3}-\frac {b c \left (24 c^4 d^2-20 c^2 d e-15 e^2\right ) \tanh ^{-1}\left (\frac {\sqrt {d+e x^2}}{\sqrt {d}}\right )}{120 d^{3/2}}+\frac {b \left (c^2 d-e\right )^{3/2} \left (3 c^2 d+2 e\right ) \tanh ^{-1}\left (\frac {c \sqrt {d+e x^2}}{\sqrt {c^2 d-e}}\right )}{15 d^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 0.38, size = 413, normalized size = 1.84 \begin {gather*} \frac {-\sqrt {d+e x^2} \left (8 a \left (3 d^2+d e x^2-2 e^2 x^4\right )+b c d x \left (7 e x^2+d \left (6-12 c^2 x^2\right )\right )\right )-8 b \sqrt {d+e x^2} \left (3 d^2+d e x^2-2 e^2 x^4\right ) \text {ArcTan}(c x)+b c \sqrt {d} \left (24 c^4 d^2-20 c^2 d e-15 e^2\right ) x^5 \log (x)-b c \sqrt {d} \left (24 c^4 d^2-20 c^2 d e-15 e^2\right ) x^5 \log \left (d+\sqrt {d} \sqrt {d+e x^2}\right )+4 b \left (c^2 d-e\right )^{3/2} \left (3 c^2 d+2 e\right ) x^5 \log \left (-\frac {60 c d^2 \left (c d-i e x+\sqrt {c^2 d-e} \sqrt {d+e x^2}\right )}{b \left (c^2 d-e\right )^{5/2} \left (3 c^2 d+2 e\right ) (i+c x)}\right )+4 b \left (c^2 d-e\right )^{3/2} \left (3 c^2 d+2 e\right ) x^5 \log \left (-\frac {60 c d^2 \left (c d+i e x+\sqrt {c^2 d-e} \sqrt {d+e x^2}\right )}{b \left (c^2 d-e\right )^{5/2} \left (3 c^2 d+2 e\right ) (-i+c x)}\right )}{120 d^2 x^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.13, size = 0, normalized size = 0.00 \[\int \frac {\sqrt {e \,x^{2}+d}\, \left (a +b \arctan \left (c x \right )\right )}{x^{6}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.82, size = 1244, normalized size = 5.55 \begin {gather*} \left [-\frac {4 \, {\left (3 \, b c^{4} d^{2} x^{5} - b c^{2} d x^{5} e - 2 \, b x^{5} e^{2}\right )} \sqrt {c^{2} d - e} \log \left (\frac {8 \, c^{4} d^{2} - 4 \, {\left (2 \, c^{3} d + {\left (c^{3} x^{2} - c\right )} e\right )} \sqrt {c^{2} d - e} \sqrt {x^{2} e + d} + {\left (c^{4} x^{4} - 6 \, c^{2} x^{2} + 1\right )} e^{2} + 8 \, {\left (c^{4} d x^{2} - c^{2} d\right )} e}{c^{4} x^{4} + 2 \, c^{2} x^{2} + 1}\right ) + {\left (24 \, b c^{5} d^{2} x^{5} - 20 \, b c^{3} d x^{5} e - 15 \, b c x^{5} e^{2}\right )} \sqrt {d} \log \left (-\frac {x^{2} e + 2 \, \sqrt {x^{2} e + d} \sqrt {d} + 2 \, d}{x^{2}}\right ) - 2 \, {\left (12 \, b c^{3} d^{2} x^{3} + 16 \, a x^{4} e^{2} - 6 \, b c d^{2} x - 24 \, a d^{2} + 8 \, {\left (2 \, b x^{4} e^{2} - b d x^{2} e - 3 \, b d^{2}\right )} \arctan \left (c x\right ) - {\left (7 \, b c d x^{3} + 8 \, a d x^{2}\right )} e\right )} \sqrt {x^{2} e + d}}{240 \, d^{2} x^{5}}, \frac {8 \, {\left (3 \, b c^{4} d^{2} x^{5} - b c^{2} d x^{5} e - 2 \, b x^{5} e^{2}\right )} \sqrt {-c^{2} d + e} \arctan \left (-\frac {{\left (2 \, c^{2} d + {\left (c^{2} x^{2} - 1\right )} e\right )} \sqrt {-c^{2} d + e} \sqrt {x^{2} e + d}}{2 \, {\left (c^{3} d^{2} - c x^{2} e^{2} + {\left (c^{3} d x^{2} - c d\right )} e\right )}}\right ) - {\left (24 \, b c^{5} d^{2} x^{5} - 20 \, b c^{3} d x^{5} e - 15 \, b c x^{5} e^{2}\right )} \sqrt {d} \log \left (-\frac {x^{2} e + 2 \, \sqrt {x^{2} e + d} \sqrt {d} + 2 \, d}{x^{2}}\right ) + 2 \, {\left (12 \, b c^{3} d^{2} x^{3} + 16 \, a x^{4} e^{2} - 6 \, b c d^{2} x - 24 \, a d^{2} + 8 \, {\left (2 \, b x^{4} e^{2} - b d x^{2} e - 3 \, b d^{2}\right )} \arctan \left (c x\right ) - {\left (7 \, b c d x^{3} + 8 \, a d x^{2}\right )} e\right )} \sqrt {x^{2} e + d}}{240 \, d^{2} x^{5}}, \frac {{\left (24 \, b c^{5} d^{2} x^{5} - 20 \, b c^{3} d x^{5} e - 15 \, b c x^{5} e^{2}\right )} \sqrt {-d} \arctan \left (\frac {\sqrt {-d}}{\sqrt {x^{2} e + d}}\right ) - 2 \, {\left (3 \, b c^{4} d^{2} x^{5} - b c^{2} d x^{5} e - 2 \, b x^{5} e^{2}\right )} \sqrt {c^{2} d - e} \log \left (\frac {8 \, c^{4} d^{2} - 4 \, {\left (2 \, c^{3} d + {\left (c^{3} x^{2} - c\right )} e\right )} \sqrt {c^{2} d - e} \sqrt {x^{2} e + d} + {\left (c^{4} x^{4} - 6 \, c^{2} x^{2} + 1\right )} e^{2} + 8 \, {\left (c^{4} d x^{2} - c^{2} d\right )} e}{c^{4} x^{4} + 2 \, c^{2} x^{2} + 1}\right ) + {\left (12 \, b c^{3} d^{2} x^{3} + 16 \, a x^{4} e^{2} - 6 \, b c d^{2} x - 24 \, a d^{2} + 8 \, {\left (2 \, b x^{4} e^{2} - b d x^{2} e - 3 \, b d^{2}\right )} \arctan \left (c x\right ) - {\left (7 \, b c d x^{3} + 8 \, a d x^{2}\right )} e\right )} \sqrt {x^{2} e + d}}{120 \, d^{2} x^{5}}, \frac {4 \, {\left (3 \, b c^{4} d^{2} x^{5} - b c^{2} d x^{5} e - 2 \, b x^{5} e^{2}\right )} \sqrt {-c^{2} d + e} \arctan \left (-\frac {{\left (2 \, c^{2} d + {\left (c^{2} x^{2} - 1\right )} e\right )} \sqrt {-c^{2} d + e} \sqrt {x^{2} e + d}}{2 \, {\left (c^{3} d^{2} - c x^{2} e^{2} + {\left (c^{3} d x^{2} - c d\right )} e\right )}}\right ) + {\left (24 \, b c^{5} d^{2} x^{5} - 20 \, b c^{3} d x^{5} e - 15 \, b c x^{5} e^{2}\right )} \sqrt {-d} \arctan \left (\frac {\sqrt {-d}}{\sqrt {x^{2} e + d}}\right ) + {\left (12 \, b c^{3} d^{2} x^{3} + 16 \, a x^{4} e^{2} - 6 \, b c d^{2} x - 24 \, a d^{2} + 8 \, {\left (2 \, b x^{4} e^{2} - b d x^{2} e - 3 \, b d^{2}\right )} \arctan \left (c x\right ) - {\left (7 \, b c d x^{3} + 8 \, a d x^{2}\right )} e\right )} \sqrt {x^{2} e + d}}{120 \, d^{2} x^{5}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b \operatorname {atan}{\left (c x \right )}\right ) \sqrt {d + e x^{2}}}{x^{6}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\left (a+b\,\mathrm {atan}\left (c\,x\right )\right )\,\sqrt {e\,x^2+d}}{x^6} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________